package cn.edu.jiangnan.cashmanagement.common.dao;

import java.util.List;

public interface IDao<T> {
	
	public Long save(T t);
	
	/**
	 * 删除单个对象
	 * */
	public Boolean delete(Long id);
	
	/**
	 * 批量删除
	 * */
	public Boolean deleteAll(List<Long> ids);
	
	public Boolean update(T t);
	
	public List<T> find(T t,int start,int limit);
	
	
	public T get(Long id);
	
}
